export enum SPECIAL_NUMBER {
    three = '3',
    five = '5',
    seven = '7',
}

export const isContain3 = (number: number): boolean => {
    return number.toString().includes(SPECIAL_NUMBER.three);
}

export const isContain5 = (number: number): boolean => {
    return number.toString().includes(SPECIAL_NUMBER.five);
}

export const isContain7 = (number: number): boolean => {
    return number.toString().includes(SPECIAL_NUMBER.seven);
}

export const isJustContain3 = (number: number) => {
    return isContain3(number) && !isContain5(number) && !isContain7(number);
}

export const isJustContain5 = (number: number) => {
    return !isContain3(number) && isContain5(number) && !isContain7(number);
}

export const isJustContain7 = (number: number) => {
    return !isContain3(number) && !isContain5(number) && isContain7(number);
}

export const isContain3and5 = (number: number) => {
    return isContain3(number) && isContain5(number) && !isContain7(number);
}

export const isContain3and7 = (number: number) => {
    return isContain3(number) && !isContain5(number) && isContain7(number);
}

export const isContain5and7 = (number: number) => {
    return !isContain3(number) && isContain5(number) && isContain7(number);
}

export const isContain3and5and7 = (number: number) => {
    return isContain3(number) && isContain5(number) && isContain7(number);
}

export const isNotContain3and5and7 = (number: number) => {
    return !isContain3(number) && !isContain5(number) && !isContain7(number);
}

